<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@ page import="com.hz.util.*" %>
<%@page import="com.hz.model.ActType"%>
<%@page import="com.hz.control.ActTypeControl"%>
 <%
      request.setCharacterEncoding("UTF-8");
      int atid =Integer.parseInt(request.getParameter("atid"));
      String projectdesc=request.getParameter("describe");
	  String typename = request.getParameter("actName");
	  if(ActTypeControl.updateActType(typename,projectdesc,atid)){%>
	  
	  
	   <script>
	   window.parent.frames.left.location.reload();
	</script>
	  <%
	  }
	  else{
	  %>
	  <script>
	  alert("失败");
	  history.go(-1);
	  </script>
	     <%
	  }
  %>
